package com.telchina.common.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.telchina.common.annotation.Excel;
import com.telchina.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 附件管理对象 wo_attachment
 *
 * @author konghao
 * @date 2023-02-21
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class WoAttachment extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    @TableId(
            type = IdType.ASSIGN_UUID
    )
    private String id;

    /**
     * uid
     */
    private String uid;

    /**
     * 关联业务id
     */
    @Excel(name = "关联业务id")
    @ApiModelProperty(value = "关联业务id")
    private String bussId;

    /**
     * 文件保存路径
     */
    @Excel(name = "文件保存路径")
    private String path;

    /**
     * 文件保存全路径
     */
    @Excel(name = "文件保存全路径")
    private String fullPath;

    /**
     * 原始文件名称
     */
    @Excel(name = "原始文件名称")
    private String fileName;

    /**
     * 文件后缀
     */
    @Excel(name = "文件后缀")
    private String suffix;

    /**
     * 文件大小
     */
    @Excel(name = "文件大小")
    private String size;

    /**
     * 业务模块标识
     */
    @Excel(name = "业务模块标识")
    private String bussKey;

    /**
     * 备注
     */
    @Excel(name = "备注")
    private String remark;


}
